<template>
  <a-config-provider :locale="zhCN">
    <div style="height: 100vh;">
      <router-view />
    </div>
  </a-config-provider>
</template>

<script lang="ts" setup>
import zhCN from "ant-design-vue/es/locale/zh_CN";
</script>

<style lang="scss">
/* 设置滚动条的整体宽度 */
::-webkit-scrollbar {
  width: 0.5rem;
  background-color: #f5f5f5;
}

/* 设置滚动条轨道的样式 */
::-webkit-scrollbar-track {
  border-radius: 10px;
  background-color: #f5f5f5;
}

/* 设置滚动条滑块的样式 */
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #ccc;
}

#app {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

nav {
  padding: 30px;

  a {
    font-weight: bold;
    color: #2c3e50;

    &.router-link-exact-active {
      color: #42b983;
    }
  }
}

//iconfont
.icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
}
</style>
